package com.ruoyi.project.business.tenantsocialsecurity.service;

import com.ruoyi.project.business.tenantsocialsecurity.entity.TenantsocialSecurity;
import com.ruoyi.project.business.tenantsocialsecurity.request.AddTenantsocialSecurityRequest;
import com.ruoyi.project.business.tenantsocialsecurity.request.ListTenantsocialSecurityRequest;
import com.ruoyi.project.business.tenantsocialsecurity.request.UpdateTenantsocialSecurityRequest;
import com.ruoyi.project.business.tenantsocialsecurity.response.TenantsocialSecurityResponse;

import java.util.List;

/**
 * 社保基本配置Service接口
 * 
 * @author ${author}
 * @date 2024-03-19
 */
public interface ITenantsocialSecurityService {
    /**
     * 查询社保基本配置
     *
     * @param id 社保基本配置ID
     * @return 社保基本配置
     */
    public TenantsocialSecurity selectTenantsocialSecurityById(Long id);

    /**
     */
    public List<TenantsocialSecurityResponse> selectTenantsocialSecurityList(ListTenantsocialSecurityRequest request, Long tenantId);


    public int insertTenantsocialSecurity(AddTenantsocialSecurityRequest request, Long operatorId, Long tenantId);

    /**
     * 修改社保基本配置
     * 
     * @return 结果
     */
    public int updateTenantsocialSecurity(UpdateTenantsocialSecurityRequest entity, Long operatorId, Long tenantId);

    /**
     * 批量删除社保基本配置
     * 
     * @return 结果
     */
    public int deleteTenantsocialSecurityByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除社保基本配置信息
     * 
     * @return 结果
     */
    public int deleteTenantsocialSecurityById(Long id, Long operatorId, Long tenantId);

    TenantsocialSecurity selectByUser(int year, Long userId, Long tenantId);
}
